// vite.config.js
import {
  defineConfig,
  loadEnv
} from "file:///D:/Develop/www/vzan/weistream_web/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/Develop/www/vzan/weistream_web/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import eslint from "file:///D:/Develop/www/vzan/weistream_web/node_modules/vite-plugin-eslint/dist/index.mjs";
var vite_config_default = async ({ mode }) => {
  const env = await loadEnv(mode, process.cwd());
  const basePath = env.VITE_APP_STATIC_URL;
  return defineConfig({
    base: basePath,
    plugins: [
      vue(),
      eslint({
        include: ["src/**/*.js", "src/**/*.vue", "src/*.js", "src/*.vue"]
      })
      // cdnImport({
      //   include: ["**/*.vue", "**/*.js"],
      //   exclude: []
      // })
    ],
    resolve: {
      alias: {
        "@": "/src"
      }
    },
    server: {
      open: false,
      proxy: {
        "https://auth-dev.weistream.com/": {
          target: "https://auth-dev.weistream.com/",
          changeOrigin: true,
          ws: true
        },
        "https://admin-dev.weistream.com/": {
          target: "https://admin-dev.weistream.com/",
          changeOrigin: true,
          ws: true
        },
        "https://live-dev.weistream.com/": {
          target: "https://live-dev.weistream.com/",
          changeOrigin: true,
          ws: true
        }
      }
    }
  });
};
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxEZXZlbG9wXFxcXHd3d1xcXFx2emFuXFxcXHdlaXN0cmVhbV93ZWJcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkQ6XFxcXERldmVsb3BcXFxcd3d3XFxcXHZ6YW5cXFxcd2Vpc3RyZWFtX3dlYlxcXFx2aXRlLmNvbmZpZy5qc1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5h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